home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 25 / Cream of the Crop 25.iso / faq / wdj0597.zip / SDKANN.ZIP / SOURCE.ZIP / PLAYBACK.H < prev    next >
Text File  |  1995-08-10  |  1KB  |  32 lines

  1. #if !defined(_INC_WINDOWS) && !defined(__WINDOWS_H)
  2.     #include <windows.h>
  3. #endif
  4.  
  5. /* WDJ_Pbh == PlayBackHook */
  6.  
  7. #define WDJ_PBH_CTL     0x0100
  8. #define WDJ_PBH_ALT     0x0200
  9. #define WDJ_PBH_CTLALT  0x0300
  10.  
  11. typedef void *WDJ_Pbh;
  12.  
  13. WDJ_Pbh     WDJ_Pbh_Create(HINSTANCE Instance);
  14.  
  15. int         WDJ_Pbh_AppendRaw(WDJ_Pbh Handle, UINT Message, UINT Low,
  16.                        UINT High, DWORD Delay);
  17. int         WDJ_Pbh_AppendChar(WDJ_Pbh Handle, int Char);
  18. int         WDJ_Pbh_AppendString(WDJ_Pbh Handle, const char *String);
  19.  
  20. int         WDJ_Pbh_Play(WDJ_Pbh Handle);
  21. int         WDJ_Pbh_Pump(WDJ_Pbh Handle);
  22.  
  23. int         WDJ_Pbh_PlayCallback(WDJ_Pbh Handle, WNDPROC Callback,
  24.                      HWND W, UINT M, WPARAM p1, LPARAM p2);
  25. int         WDJ_Pbh_PumpCallback(WDJ_Pbh Handle, WNDPROC Callback,
  26.                      HWND W, UINT M, WPARAM p1, LPARAM p2);
  27.  
  28. int         WDJ_Pbh_Destroy(WDJ_Pbh Handle);
  29.  
  30. int         WDJ_Pbh_String(HINSTANCE Instance, const char *String);
  31.  
  32.